/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28779
 * Date: 2023-04-02
 * Time: 8:49
 */
public class Test {
    public static void main(String[] args) {
        Integer a = 10;
        int i = a.intValue();//显示拆箱
        float f = a.floatValue();//显示拆箱
        int ii = a;

    }
    public static void main1(String[] args) {
        int a = 10;
        Integer i = a;   //自动装箱
        Integer ii = new Integer(a);      //显示装箱
        Integer iii = Integer.valueOf(a);  //显示装箱
    }
}
